Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Getting Viewer Information


Q3ViewerGetCurrentButton

You can use the Q3ViewerGetCurrentButton function to get the active button of a viewer.

unsigned long Q3ViewerGetCurrentButton (
TQ3ViewerObject theViewer);
theViewer
A viewer object.
DESCRIPTION
The Q3ViewerGetCurrentButton function returns, as its function result, the active button of the viewer object specified by the theViewer parameter. Q3ViewerGetCurrentButton returns one of these constants:

kQ3ViewerButtonCamera
kQ3ViewerButtonTruck
kQ3ViewerButtonOrbit
kQ3ViewerButtonZoom
kQ3ViewerButtonDolly

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996